{include file="rootbase/head"}

<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3>赛事添加</h3>
        </div>
    </div>
    <div class="clearfix"></div>

    <div class="row">
        <div class="col-md-12 col-sm-12">
            <div class="x_panel">
                <div class="x_content">
                    <form class="" action="http://www.tp5.com/vote/root/doaddrace" enctype="multipart/form-data" method="post" novalidate="">  
                        <div class="field item form-group">
                            <label class="col-form-label col-md-3 col-sm-3  label-align">赛事封面:<span class="required">*</span></label>
                            <div class="col-md-6 col-sm-6">
                                <input type="file" name="pic">
                            </div>
                        </div>    
                        <div class="field item form-group">
                            <label class="col-form-label col-md-3 col-sm-3  label-align">赛事名:<span class="required">*</span></label>
                            <div class="col-md-6 col-sm-6">
                                <input class="form-control" data-validate-length-range="6" data-validate-words="2" name="name" value="" required="required">
                            </div>
                        </div>    
                        <div class="field item form-group">
                            <label class="col-form-label col-md-3 col-sm-3  label-align">赛事介绍<span class="required">*</span></label>
                            <div class="col-md-6 col-sm-6">
                                <textarea name="explain" id="" cols="30" rows="10"></textarea>
                            </div>
                        </div>
                        <div class="field item form-group">
                            <label class="col-form-label col-md-3 col-sm-3  label-align">开始时间<span class="required">*</span></label>
                            <div class="col-md-6 col-sm-6">
                                <input class="form-control" type="date" name="start" value="" required="required" data-validate-length-range="8,20"></div>
                        </div>
                        <div class="field item form-group">
                            <label class="col-form-label col-md-3 col-sm-3  label-align">结束时间<span class="required">*</span></label>
                            <div class="col-md-6 col-sm-6">
                                <input class="form-control" type="date" name="end" value="" required="required" data-validate-length-range="8,20"></div>
                        </div>
                        <div class="ln_solid">
                            <div class="form-group">
                                <div class="col-md-6 offset-md-3">
                                    <button type="submit" class="btn btn-primary">添加</button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{include file="rootbase/foot"}